package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生宿舍信息对象 t_dorm
 * 
 * @author fyk
 * @date 2024-05-09
 */
public class TDorm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 宿舍id */
    private Long buildingId;

    /** 楼址 */
    @Excel(name = "楼址")
    private String studentAddress;

    /** 房间号 */
    @Excel(name = "房间号")
    private Integer studentRoomNumber;

    /** 楼层 */
    @Excel(name = "楼层")
    private Integer studentFloor;

    /** 宿舍类型 */
    @Excel(name = "宿舍类型")
    private String dormItotyType;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String dormStudentName;

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setStudentAddress(String studentAddress) 
    {
        this.studentAddress = studentAddress;
    }

    public String getStudentAddress() 
    {
        return studentAddress;
    }
    public void setStudentRoomNumber(Integer studentRoomNumber) 
    {
        this.studentRoomNumber = studentRoomNumber;
    }

    public Integer getStudentRoomNumber() 
    {
        return studentRoomNumber;
    }
    public void setStudentFloor(Integer studentFloor) 
    {
        this.studentFloor = studentFloor;
    }

    public Integer getStudentFloor() 
    {
        return studentFloor;
    }
    public void setDormItotyType(String dormItotyType) 
    {
        this.dormItotyType = dormItotyType;
    }

    public String getDormItotyType() 
    {
        return dormItotyType;
    }
    public void setDormStudentName(String dormStudentName) 
    {
        this.dormStudentName = dormStudentName;
    }

    public String getDormStudentName() 
    {
        return dormStudentName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingId", getBuildingId())
            .append("studentAddress", getStudentAddress())
            .append("studentRoomNumber", getStudentRoomNumber())
            .append("studentFloor", getStudentFloor())
            .append("dormItotyType", getDormItotyType())
            .append("dormStudentName", getDormStudentName())
            .toString();
    }
}
